import service from "../../utils/request";
export function findAllUser(payload = {}) {
    return service({
        url: '/users/findAllUser',
        method: 'get',
        params: payload
    })
} 
export function findAllUserByUserName(payload = {}) {
    return service({
        url: '/users/findAllUserByUserName',
        method: 'get',
        params: payload
    })
} 
export function findAllUserByState(payload = {}) {
    return service({
        url: '/users/findAllUserByState',
        method: 'get',
        params: payload
    })
} 
export function addUser(payload = {}) {
    return service({
        url: '/users/addUser',
        method: 'post',
        data: payload
    })
} 
export function deleteUser(payload = {}) {
    return service({
        url: '/users/deleteUser',
        method: 'get',
        params: payload
    })
} 

